package com.b2bpsssm.controller.kucun;

import com.b2bpsssm.common.R;
import com.b2bpsssm.pojo.Hdh;
import com.b2bpsssm.pojo.SysUser;
import io.swagger.annotations.*;
import io.swagger.models.auth.In;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

import java.util.ArrayList;
import java.util.List;

@Controller
@RequestMapping(value = "/Kucun")
@Api(value = "库存模块",tags = "库存接口API")
public class Kucun {
    @RequestMapping(value = "/kucun_Query",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "库存查询页面接口",notes = "库存查询页面信息展示",httpMethod = "post", response = String.class)
    public R findkucun_info(@ApiParam(required = true)Integer currentPage,@ApiParam(required = true) Integer pageSize){


        R r = new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/kucun_fenbu",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "库存分布接口",notes = "验证是否查询到库存分布信息",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
        @ApiImplicitParam(name = "currentPage",value = "当前页码数",required = true,dataType = "String",paramType = "query"),
        @ApiImplicitParam(name = "Pagesize",value = "每页显示条数",required = true,dataType = "String",paramType = "query")
    })
    public R findkucun_fenbu(@RequestParam(name="currentPage")Integer currentPage,@RequestParam(name="Pagesize") Integer pageSize){
        R r = new R();
        SysUser sysUser = new SysUser();
        Hdh hdh = new Hdh();
        List<Object> sysUsers=new ArrayList<>();
        sysUser.setId(11);
        hdh.setId(666);
        hdh.setName("dehua");
        sysUsers.add(sysUser);
        sysUsers.add(hdh);
        r.setCode(200);
        r.setMassage("success");
        r.setData(sysUsers);

        return r;
    }
    @RequestMapping(value = "/kucun_runwater",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "库存流水接口",notes = "验证是否查询到库存流水信息",httpMethod = "post", response = R.class)
    public R findkucun_liushui(){
        R r = new R();
        r.setCode(200);
        r.setMassage("success");


        return r;
    }

    @RequestMapping(value = "/warehouse_selection",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "仓库选择框动态查询接口",notes = "仓库选择框选项展示",httpMethod = "post", response = R.class)
    public R findcangku_mendian(){
        R r = new R();
        SysUser sysUser = new SysUser();
        Hdh hdh = new Hdh();
        List<Object> sysUsers=new ArrayList<>();
        sysUser.setId(11);

        hdh.setId(666);
        hdh.setName("dehua");
        sysUsers.add(sysUser);
        sysUsers.add(hdh);
        r.setCode(200);
        r.setMassage("success");
        r.setData(sysUsers);

        return r;
    }

    @RequestMapping(value = "/key_word",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "关键词搜索接口",notes = "搜索框查询信息",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "currentPage",value = "当前页码数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "Pagesize",value = "每页显示条数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "com_name",value = "商品名称",required = true,dataType = "String",paramType = "query")

    })
    public R findkucun_keyword(@RequestParam(name="currentPage")Integer currentPage,@RequestParam(name="Pagesize") Integer pageSize,@RequestParam(name="com_name")String com_name){
      R r=new R();
      r.setCode(200);
      r.setMassage("success");
      return r;
    }

    @RequestMapping(value = "/liushui/key_word",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "库存流水页面关键词搜索接口",notes = "搜索框查询信息",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "currentPage",value = "当前页码数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "Pagesize",value = "每页显示条数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "com_name",value = "商品名称",required = true,dataType = "String",paramType = "query")

    })
    public R findkucun_liushuiKeyword(@RequestParam(name="currentPage")Integer currentPage,@RequestParam(name="Pagesize") Integer pageSize,@RequestParam(name="com_name")String com_name){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }
    @RequestMapping(value = "/liushui/findgoodsCode",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "库存流水页面商品编码查询接口接口",notes = "搜索框查询信息",httpMethod = "post", response = R.class)
    @ApiImplicitParams({

            @ApiImplicitParam(name = "com_name",value = "商品名称",required = true,dataType = "String",paramType = "query")

    })
    public R findkucun_comid(@RequestParam(name="com_id")String com_id){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/liushui/finddanjuCode",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "库存流水页面单据编号查询查询接口",notes = "搜索框查询信息",httpMethod = "post", response = R.class)
    @ApiImplicitParams({

            @ApiImplicitParam(name = "document_no",value = "单据编号",required = true,dataType = "String",paramType = "query")

    })
    public R findkucun_danjuCode(@RequestParam(name="document_no")String document_no){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/liushui/findyewuCode",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "库存流水页面关联业务单号查询接口",notes = "搜索框查询信息",httpMethod = "post", response = R.class)
    @ApiImplicitParams({

            @ApiImplicitParam(name = "document_no",value = "单据编号",required = true,dataType = "String",paramType = "query")

    })
    public R findkucun_ls_glywCode(@RequestParam(name="document_no")String document_no){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/pandian/key_Word",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "库存盘点页面关键词查询接口",notes = "搜索框查询信息",httpMethod = "post", response =R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "currentPage",value = "当前页码数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "Pagesize",value = "每页显示条数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "document_no",value = "单据编号",required = true,dataType = "String",paramType = "query")

    })
    public R findkucun_pd_keyword(@RequestParam(name="document_no")String document_no){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/pandian/details",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "库存盘点 详情 接口",notes = "显示盘点页面信息",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "currentPage",value = "当前页码数",required = true,dataType = "String",paramType = "query"),


    })
    public R findkucun_pd_detail(@RequestParam(name="com_name")String com_id){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }


    @RequestMapping(value = "/pandian/del",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "库存盘点页面删除接口",notes = "执行删除操作",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "document_no",value = "单据编号",required = true,dataType = "String",paramType = "query"),


    })
    public R findkucun_pd_delAct(@RequestParam(name="document_no")String document_no){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/pandian/add",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "库存盘点页面新增接口",notes = "执行新增操作",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "inventory_type",value = "盘点类型",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "inventory_warehouse",value = "盘点仓库",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "inventory_title",value = "盘点标题",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "submission_time",value = "盘点日期",required = true,dataType = "String",paramType = "query"),
    })
    public R findkucun_pd_delAct(@RequestParam(name="sysUser")SysUser sysUser){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/pandian/selectgoods",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "新增库存盘点页面    商品选择",notes = "执行商品查询操作",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "com_name",value = "商品名称",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "com_id",value = "商品编号",required = true,dataType = "String",paramType = "query")
    })
    public R findkucun_pd_selectgoods(@RequestParam(name = "com_id")String com_id,@RequestParam(name = "com_name") String com_name){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/pandian/distinctgoods",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "新增库存盘点单页面商品分类接口",notes = "执行商品查询操作",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "com_name",value = "商品名称",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "com_id",value = "商品编号",required = true,dataType = "String",paramType = "query")
    })
    public R findkucun_pd_distinctgoods(@RequestParam(name = "com_id")String com_id,@RequestParam(name = "com_name") String com_name){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }


    @RequestMapping(value = "/diaobo/find_Allinfo",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "库存调拨页面信息展示接口",notes = "库存调拨页面信息展示",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "currentPage",value = "当前页码数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "Pagesize",value = "每页显示条数",required = true,dataType = "String",paramType = "query")
    })
    public R findkucundiaobo_Allinfo(@RequestParam(name="currentPage")Integer currentPage,@RequestParam(name="Pagesize") Integer pageSize){

        R r = new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/diaobo/findout_cangkuout",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "新增库存调拨单页面出库仓库选择接口",notes = "点击显示出库仓库",httpMethod = "post", response = R.class)

    public R findcangku_out(){
        R r = new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/diaobo/find_cangkuin",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "新增库存调拨单页面入库仓库选择接口",notes = "点击显示入库仓库",httpMethod = "post", response = R.class)
    public R findcangku_in(){
        R r = new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }


    @RequestMapping(value = "/diaobo/find_jingshouren",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "新增库存调拨单页面经手人信息接口",notes = "点击显示经手人",httpMethod = "post", response = R.class)
    public R findjingshouren(){
        R r = new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/diaobo/del",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "库存调拨页面删除接口",notes = "执行删除操作",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "document_no",value = "单据编号",required = true,dataType = "String",paramType = "query"),


    })
    public R kucundb_del(@RequestParam(name="document_no")String document_no){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/diaobo/all_Details",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "库存调拨页面详情接口",notes = "点击详情显示调拨信息",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "document_no",value = "单据编号",required = true,dataType = "String",paramType = "query"),


    })
    public R kucundb_detailAction(@RequestParam(name="com_name")String com_id){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }



    @RequestMapping(value = "/baosun/find_Allinfo",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "报损页面信息展示接口",notes = "报损页面信息展示",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "currentPage",value = "当前页码数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "Pagesize",value = "每页显示条数",required = true,dataType = "String",paramType = "query")
    })
    public R finddamage_Allinfo(@RequestParam(name="currentPage")Integer currentPage,@RequestParam(name="Pagesize") Integer pageSize){

        R r = new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }


    @RequestMapping(value = "/baosun/del",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "库存报损页面删除接口",notes = "执行删除操作",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "document_no",value = "单据编号",required = true,dataType = "String",paramType = "query"),


    })
    public R kucundamage_del(@RequestParam(name="document_no")String document_no){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/baosun/all_Details",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "库存报损 页面详情接口",notes = "点击详情显示报损信息",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "document_no",value = "单据编号",required = true,dataType = "String",paramType = "query"),


    })
    public R kucundamage_detailAction(@RequestParam(name="document_no")String document_no){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }


    @RequestMapping(value = "/baosun/key_words",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "报损页面关键词搜索接口",notes = "搜索报损信息",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "sto_name",value = "门店名称",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "Pagesize",value = "每页显示条数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "currentPage",value = "当前页码",required = true,dataType = "String",paramType = "query")

    })
    public R kucunbaosun_keywords(@RequestParam(name="sto_name")String sto_name,@RequestParam(name="currentPage")Integer currentPage,@RequestParam(name="Pagesize")Integer Pagesize ){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/baosun/cangku_select",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "新增报损单页面报损仓库选择接口",notes = "点击显示仓库",httpMethod = "post", response = R.class)
    public R findcangku_indamage(){
        R r = new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/baosun/jingshouren_select",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "新增报损单页面 经手人选择 接口",notes = "点击显示经手人",httpMethod = "post", response = R.class)
    public R newdamage_find_jingshouren(){
        R r = new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }
//出库

    @RequestMapping(value = "/chuku/find_Allinfo",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "出库管理页面 信息展示接口",notes = "验证是否查询到出库信息",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "currentPage",value = "当前页码数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "Pagesize",value = "每页显示条数",required = true,dataType = "String",paramType = "query")
    })
    public R findchuku_Allinfo(@RequestParam(name="currentPage")Integer currentPage,@RequestParam(name="Pagesize") Integer pageSize){
        R r = new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/chuku/key_word",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "出库管理页面 关键词搜索接口",notes = "关键词搜索查询",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "currentPage",value = "当前页码数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "Pagesize",value = "每页显示条数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "document_no",value = "单据编号",required = true,dataType = "String",paramType = "query")

    })
    public R findchuku_manage_keyword(@RequestParam(name="document_no")String document_no,@RequestParam(name="currentPage")Integer currentPage,@RequestParam(name="Pagesize") Integer pageSize){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }



    @RequestMapping(value = "/chuku/details_Act",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "出库管理页面 详情接口",notes = "点击详情显示出库信息",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "document_no",value = "单据编号",required = true,dataType = "String",paramType = "query"),


    })
    public R chuku_manage_detailAct(@RequestParam(name="document_no")String document_no){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/chuku/action_chuku",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "出库管理页面 出库操作 接口",notes = "点击出库查询商品信息",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "document_no",value = "单据编号",required = true,dataType = "String",paramType = "query"),


    })
    public R chuku_actchuku(@RequestParam(name="document_no")String document_no){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }
    @RequestMapping(value = "/chuku/queren_chuku",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "出库管理页面 确认出库操作 接口",notes = "添加其他信息至数据库",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "out_date",value = "出库日期",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "logistics_company",value = "物流公司",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "logistics_number",value = "物流单号",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "freight",value = "运费",required = true,dataType = "String",paramType = "query"),


    })
    //这里参数不合适 后面修改
    public R chuku_querenact(@RequestParam(name="sysuser")SysUser sysUser){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/chuku/find_jingshouren",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "出库页面 经手人选择 接口",notes = "点击显示经手人",httpMethod = "post", response = R.class)
    public R chukupage_find_jingshouren(){
        R r = new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }


    @RequestMapping(value = "/chuku/mingxi_find",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "出库明细页面 关键词搜索接口",notes = "关键词搜索查询",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "currentPage",value = "当前页码数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "Pagesize",value = "每页显示条数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "document_no",value = "单据编号",required = true,dataType = "String",paramType = "query")

    })
    public R findchuku_mingxi_keyword(@RequestParam(name="document_no")String document_no,@RequestParam(name="currentPage")Integer currentPage,@RequestParam(name="Pagesize") Integer pageSize){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/chuku/mingxiinfo",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "出库明细页面 信息展示接口",notes = "验证是否查询出库明细信息",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "currentPage",value = "当前页码数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "Pagesize",value = "每页显示条数",required = true,dataType = "String",paramType = "query")

    })
    public R findchuku_mingxi_Allinfo(@RequestParam(name="currentPage")Integer currentPage,@RequestParam(name="Pagesize") Integer pageSize){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/chuku/mingxi_del",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "出库明细页面 删除接口",notes = "删除操作",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "currentPage",value = "当前页码数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "Pagesize",value = "每页显示条数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "document_no",value = "单据编号",required = true,dataType = "String",paramType = "query")

    })
    public R chuku_mingxi_del(@RequestParam(name="document_no")String document_no,@RequestParam(name="currentPage")Integer currentPage,@RequestParam(name="Pagesize") Integer pageSize){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    //入库
    @RequestMapping(value = "/ruku/find_Allinfo",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "入库管理页面 信息展示接口",notes = "验证是否查询到入库信息",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "currentPage",value = "当前页码数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "Pagesize",value = "每页显示条数",required = true,dataType = "String",paramType = "query")
    })
    public R findruku_Allinfo(@RequestParam(name="currentPage")Integer currentPage,@RequestParam(name="Pagesize") Integer pageSize){
        R r = new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/ruku/key_word",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "入库管理页面 关键词搜索接口",notes = "关键词搜索查询",httpMethod = "post", response =R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "currentPage",value = "当前页码数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "Pagesize",value = "每页显示条数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "document_no",value = "单据编号",required = true,dataType = "String",paramType = "query")

    })
    public R findruku_manage_keyword(@RequestParam(name="document_no")String document_no,@RequestParam(name="currentPage")Integer currentPage,@RequestParam(name="Pagesize") Integer pageSize){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }



    @RequestMapping(value = "/ruku/details_Act",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "入库管理页面 详情接口",notes = "点击详情显示入库信息",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "document_no",value = "单据编号",required = true,dataType = "String",paramType = "query"),


    })
    public R ruku_manage_detailAct(@RequestParam(name="document_no")String document_no){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/ruku/action_ruku",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "入库管理页面 入库操作 接口",notes = "点击入库查询商品信息",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "document_no",value = "单据编号",required = true,dataType = "String",paramType = "query"),


    })
    public R ruku_actruku(@RequestParam(name="document_no")String document_no){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }
    @RequestMapping(value = "/ruku/queren_ruku",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "入库管理页面 确认入库操作 接口",notes = "添加其他信息至数据库",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "currentPage",value = "当前页码数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "Pagesize",value = "每页显示条数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "document_no",value = "单据编号",required = true,dataType = "String",paramType = "query")


    })
    //这里参数不合适 后面修改
    public R ruku_querenact(@RequestParam(name="document_no")String document_no){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/ruku/find_jingshouren",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "入库页面 经手人选择 接口",notes = "点击显示经手人",httpMethod = "post", response = R.class)
    public R rukupage_find_jingshouren(){
        R r = new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }



    @RequestMapping(value = "/ruku/mingxi_find",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "入库明细页面 关键词搜索接口",notes = "关键词搜索查询",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "currentPage",value = "当前页码数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "Pagesize",value = "每页显示条数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "document_no",value = "单据编号",required = true,dataType = "String",paramType = "query")

    })
    public R findruku_mingxi_keyword(@RequestParam(name="document_no")String document_no,@RequestParam(name="currentPage")Integer currentPage,@RequestParam(name="Pagesize") Integer pageSize){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/ruku/mingxiinfo",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "入库明细页面 信息展示接口",notes = "验证是否查询入库明细信息",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "currentPage",value = "当前页码数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "Pagesize",value = "每页显示条数",required = true,dataType = "String",paramType = "query")

    })
    public R findruku_mingxi_Allinfo(@RequestParam(name="currentPage")Integer currentPage,@RequestParam(name="Pagesize") Integer pageSize){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }

    @RequestMapping(value = "/ruku/mingxi_del",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "出库明细页面 删除接口",notes = "删除操作",httpMethod = "post", response = R.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "currentPage",value = "当前页码数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "Pagesize",value = "每页显示条数",required = true,dataType = "String",paramType = "query"),
            @ApiImplicitParam(name = "document_no",value = "单据编号",required = true,dataType = "String",paramType = "query")

    })
    public R ruku_mingxi_del(@RequestParam(name="document_no")String document_no,@RequestParam(name="currentPage")Integer currentPage,@RequestParam(name="Pagesize") Integer pageSize){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }


    @RequestMapping(value = "/ruku/mingxi_details",method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "入库明细页面 详情接口",notes = "详情操作",httpMethod = "post", response = R.class)
    @ApiImplicitParams({

            @ApiImplicitParam(name = "document_no",value = "单据编号",required = true,dataType = "String",paramType = "query")

    })
    public R ruku_mingxi_details(@RequestParam(name="document_no")String document_no){
        R r=new R();
        r.setCode(200);
        r.setMassage("success");
        return r;
    }




}
